package cn.shun.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("user")
public class User {
    private String username;
    private String password;
    //一对一
    private UserInfo userinfo;
    //一对多
    private Set<UserAddress> userAddressSet;

}
